<div class="offices form">
<?php echo $this->Form->create('Office'); ?>
	<fieldset>
		<legend><?php echo __('Edit Office'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('type');
		echo $this->Form->input('parent_office_id');
		echo $this->Form->input('name');
		echo $this->Form->input('description');
		echo $this->Form->input('tax');
		echo $this->Form->input('open_hour');
		echo $this->Form->input('close_hour');
		echo $this->Form->input('open_dt');
		echo $this->Form->input('close_dt');
		echo $this->Form->input('status');
		echo $this->Form->input('enable_ad');
		echo $this->Form->input('ad_header_price');
		echo $this->Form->input('ad_footer_price');
		echo $this->Form->input('enable_rsv_edit');
		echo $this->Form->input('rsv_edit_times');
		echo $this->Form->input('enable_rsv_duplicate');
		echo $this->Form->input('rsv_duplicate_count');
		echo $this->Form->input('rsv_all_count');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Office.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Office.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Offices'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Advertises'), array('controller' => 'advertises', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Advertise'), array('controller' => 'advertises', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Constants'), array('controller' => 'constants', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Constant'), array('controller' => 'constants', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Coupons'), array('controller' => 'coupons', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Coupon'), array('controller' => 'coupons', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Freeadrs Areas'), array('controller' => 'freeadrs_areas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Freeadrs Area'), array('controller' => 'freeadrs_areas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Freeadrs Crowdeds'), array('controller' => 'freeadrs_crowdeds', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Freeadrs Crowded'), array('controller' => 'freeadrs_crowdeds', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Rentals'), array('controller' => 'rentals', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Rental'), array('controller' => 'rentals', 'action' => 'add')); ?> </li>
	</ul>
</div>
